﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Gpwf.aspx.cs" Inherits="Web_Gpwf" %>
<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="asp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>无标题页</title>
    <link href="../StyleSheet.css" type="text/css" rel="stylesheet" />
    <style type="text/css">
        .style1
        {
            text-align: left;
            height: 25px;
            width: 20%;
        }
        </style>
    <script type="text/javascript">
    
      function pageLoad() {
      }
    
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server" EnablePartialRendering="true">
        </asp:ToolkitScriptManager>
    </div>
    <div style="text-align: center;">
        <div style="width: 600px; font-size: 14px; text-align: left;">
            <asp:Label ID="Label1" runat="server" Text="钢坯外发记录 :" 
                ></asp:Label>
        </div>
        <div style="height: 10px;">
        </div>
        <div class="divStyle">
            <table cellpadding="0" cellspacing="0" width="100%" class="tab2">
                <tr>
                    <td class="tdLeft" style="width: 10%;">
                        <asp:Label ID="Label2" runat="server" Text="规格编号" 
                            ></asp:Label>:&nbsp;&nbsp;
                    </td>
                    <td class="tdRight" style="width: 50%;">
                        <asp:DropDownList ID="ddlNum" Width="175px" runat="server" AutoPostBack="True" onselectedindexchanged="ddlNum_SelectedIndexChanged"
                            >
                        </asp:DropDownList>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="ddlNum"
                            ErrorMessage="*">*</asp:RequiredFieldValidator>
                    </td> 
                    <td class="tdLeft" style="width: 10%;">
                        <span style="WIDTH: 90px;" >
                        <label for="rdNR">
                            <asp:Label ID="Label12" runat="server" Text="记录项目" 
                            ></asp:Label></label></span>:&nbsp;&nbsp;
                    </td>
                    <td class="tdRight" style="width: 30%;">
                        <asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional">
                            <Triggers>
                                <asp:AsyncPostBackTrigger ControlID="ddlNum" EventName="SelectedIndexChanged">
                                </asp:AsyncPostBackTrigger>
                            </Triggers>
                            <ContentTemplate>
                                <asp:DropDownList ID="ddlNR" Width="100px" runat="server" Visible="false">
                                    <asp:ListItem>请选择作业内容</asp:ListItem>
                                    <asp:ListItem>外发</asp:ListItem>
                                    <asp:ListItem>倒库</asp:ListItem>
                                    <asp:ListItem>库存</asp:ListItem>
                                </asp:DropDownList>
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="ddlNR"
                            ErrorMessage="*">*</asp:RequiredFieldValidator>
                            </ContentTemplate>
                        </asp:UpdatePanel>
                    </td>
                    
                </tr>
            </table>
        </div>
        <div style="height: 10px;">
        </div>
        <div class="divStyle">
            <table cellpadding="0" cellspacing="0" width="100%" class="tab2">
                <tr>
                    <td class="tdLeft" style="width: 4%;">
                        <asp:Label ID="Label5" runat="server" Text="数量" 
                            ></asp:Label>:&nbsp;&nbsp;
                    </td>
                    <td class="tdRight" style="width: 35%;">
                        <asp:TextBox ID="txtSL" runat="server" Width="100px"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="txtSL"
                            ErrorMessage="*">*</asp:RequiredFieldValidator>
                    </td> 
                    
                    
                </tr>
            </table>
        </div>
        <div style="height: 10px;">
        </div>
        <div class="divStyle" style="text-align: right;">
            <asp:Button ID="btnOK" runat="server" Text="提交" Width="80px" onclick="btnOK_Click"
                />
            &nbsp;&nbsp;&nbsp;&nbsp;
            
            <asp:Button ID="btnRepeat" runat="server" Text="重置" Width="80px" 
                CausesValidation="False" onclick="btnRepeat_Click"/>
            &nbsp;&nbsp;&nbsp;&nbsp;
        </div>
    </div>
    <div style="text-align: center; padding-top: 20px;">
        <br />
        <a href="#" onclick="javascript:window.history.go(-1);">
            <asp:Label ID="Label13" runat="server" Text="返回"></asp:Label></a>&nbsp;|&nbsp;
        <span class="tab1"><%=ConfigurationSettings.AppSettings["Copyright"] %></span>
    </div>
    </form>
</body>
</html>
